// 不定参函数的使用

#include<stdio.h>
#define LOG(fmt,...) printf("[%s,%d]" fmt, __FILE__, __LINE__,##__VA_ARGS__); 
int main()
{
     printf("[%s,%d] %s-%d\n",__FILE__, __LINE__, "hello world", 666);
     LOG(" %s-%d\n","hello world", 666);
     //printf("[%s:%d] " "hello world" "\n", __FILE__, __LINE__);
     LOG("hello world");
     return 0;
}
